#include <string>
#include <fstream>
#include <iostream>

using namespace std;

class Lexico
{
	private:
		string token;
		string tipo;
		char lastchar;
		int contLinha;
		fstream arquivo;
		ofstream saida;
		
	public:
		Lexico( string );
		~Lexico();
		int isLetra( char );
		int isNumero( char );
		int isSimbolo( char );
		int isEspaco( char );
		int isComposto();
		int isReservado( string );
		void lerToken();
		void validarToken();
		void lexico();
		void pulaTexto();
		void pulaComentario();
		void lerchar();
	
};

